<!DOCTYPE html>
<html>
  <head>
    <meta charset="utf-8">
    <!-- user-scalable=no禁止用户通过手指进行缩放 -->
    <meta name="viewport" content="width=device-width,initial-scale=1.0,user-scalable=no">
    <title>cks</title>
  </head>
  <body>
    <div id="app"></div>
    <!-- built files will be auto injected -->
  </body>
	<script src="https://open.ys7.com/sdk/js/1.3/ezuikit.js"></script>
	<script type="text/javascript">
		/* iphone5下16px === 1rem */
		// 为不同的设备做适配
		let htmlWidth = document.documentElement.clientWidth || document.body.clientWidth
		let htmlDom = document.getElementsByTagName('html')[0]
		
		if(htmlWidth>750){htmlWidth=750}
		//一般情况下我们以iphone为标准进行适配,iphone5下的屏幕宽度为320px,我们想得到16px的字体
		htmlDom.style.fontSize = htmlWidth/20 + 'px'
	</script>
</html>
